package com.tukez.tmdb.query

case class Paging(perPage: Int, page: Int) {
  if (perPage <= 0) throw new IllegalArgumentException("perPage must be greater than 0")
  if (page <= 0) throw new IllegalArgumentException("page must be greater than 0")
}